import { BasicFetchResult } from '../model/baseModel';
import { defHttp } from '@/utils/http/axios';
const api = '/dashboard';
export const mapPointList = (params?: any) =>
  defHttp.get<BasicFetchResult<any>>({ url: api + '/mapPointList', params });
export const getAreaCount = () =>
  defHttp.get<BasicFetchResult<any>>({ url: api + '/areaCount' });
export const getInOutCount = (params?: any) =>
  defHttp.get<BasicFetchResult<any>>({ url: api + '/inOutCount', params });
export const getAssetTypeCount = () =>
  defHttp.get<BasicFetchResult<any>>({ url: api + '/assetTypeCount' });
